import React from 'react';

class About extends React.Component{
    constructor(props){
        super(props)
    }
    render(){
        return(
            <div>
                <h4>about</h4>
                <h3>{this.props.location.state.message}</h3>
            </div>
        );
    }

    componentDidMount(){
        console.log(this)
    }
}

export default About;